//把所有的请求封装成一个个的函数
// 方便同一管理
import myAxios from '../utils/mock';
import $axios from '../utils/request';

export function getBannerList(){
    return myAxios.get("/bannerList")
}
export function getNavList(){
   return myAxios.get("/navList")
}
export function getSeckillList(){
    return  $axios.get('/pro/seckilllist')
 }
 export function getProList(params){
    return $axios.get('/pro/list',{params})
} 